|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.http.Deployment
public class Deployment
A process deployed on the HTTP connector.
| Constructor Summary | |
|---|---|
Deployment(IProcessEngine engine,
IProcessDefinition definition,
java.util.Dictionary properties,
org.osgi.framework.Bundle contributor,
IReporter reporter)
Creates a new HttpDeployment. |
|
| Method Summary | |
|---|---|
IDocument |
abort(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpReesponse,
java.lang.String prefix,
java.util.Map variableValues,
java.util.Map parameterValues)
Aborts the supplied session. |
void |
dispose()
dispose. |
java.lang.String |
getID()
ReTurns the deployment ID. |
java.lang.String |
getPath()
ReTurns the deployment path. |
java.lang.String |
getProcessID()
Returns the ID of the process being described. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Returns the value of the property with the specified name or null if no such property exists. |
IResourceManager |
getResourceManager(java.lang.String resourceManagerID)
|
java.lang.String[] |
getResourceManagerIDs()
|
java.lang.Object |
getService(java.lang.String identifier)
Returns the service selected for the specified identifier or null if no such service exists. |
java.lang.String[] |
getServiceIdentifiers()
Returns the identifiers of all the externally-provided services. |
boolean |
isSeverityEnabled(int severity)
Returns true if the specified report severity level is enabled. |
java.lang.Class |
loadClass(java.lang.String className)
Loads a class visible to the process. |
IDocument |
next(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpReesponse,
java.lang.String prefix,
java.util.Map variableValues,
java.util.Map parameterValues)
Preforms the next step in the supplied session. |
void |
report(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Notifies this descriptor of a report made during the execution of the process. |
void |
setResourceManager(java.lang.String resourceManagerID,
IResourceManager resourceManager)
Configures an available resource manager. |
IDocument |
start(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpReesponse,
java.lang.String prefix,
java.util.Map variableValues,
java.util.Map parameterValues,
java.lang.String brand)
Preforms the first step in the supplied session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Deployment(IProcessEngine engine,
IProcessDefinition definition,
java.util.Dictionary properties,
org.osgi.framework.Bundle contributor,
IReporter reporter)
engine - The process engine to use.definition - The process definition to build from.properties - The process properties.contributor - The process contributor.| Method Detail |
|---|
public java.lang.String getID()
public java.lang.String getPath()
public void setResourceManager(java.lang.String resourceManagerID,
IResourceManager resourceManager)
resourceManagerID - The ID of the resource manager.resourceManager - The manager to register.
public IDocument start(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpReesponse,
java.lang.String prefix,
java.util.Map variableValues,
java.util.Map parameterValues,
java.lang.String brand)
httpSession - The HTTP session.httpRequest - The HTTP request.httpResponse - The HTTP response.
public IDocument next(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpReesponse,
java.lang.String prefix,
java.util.Map variableValues,
java.util.Map parameterValues)
httpSession - The HTTP session.httpRequest - The HTTP request.httpResponse - The HTTP response.
public IDocument abort(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpReesponse,
java.lang.String prefix,
java.util.Map variableValues,
java.util.Map parameterValues)
httpSession - The HTTP session.httpRequest - The HTTP request.httpResponse - The HTTP response.
public void dispose()
public java.lang.String getProcessID()
IProcessDescriptor
getProcessID in interface IProcessDescriptor
public java.lang.Object getProperty(java.lang.String propertyName)
throws java.lang.NullPointerException
IProcessDescriptornull if no such property exists.
getProperty in interface IProcessDescriptorpropertyName - The name of the property to return.
null if no such property exists.
java.lang.NullPointerException - If the specified property name is
null.public java.lang.String[] getServiceIdentifiers()
IProcessDescriptor
getServiceIdentifiers in interface IProcessDescriptor
public java.lang.Object getService(java.lang.String identifier)
throws java.lang.NullPointerException
IProcessDescriptornull if no such service exists.
getService in interface IProcessDescriptoridentifier - The identifier of the service to return.
null if no such service exists.
java.lang.NullPointerException - If the supplied identifier is
null.
public java.lang.Class loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException,
java.lang.NullPointerException
IProcessDescriptor
loadClass in interface IProcessDescriptorclassName - The name of the class to load.
java.lang.ClassNotFoundException - If a class with the specified name cannot be
found.
java.lang.NullPointerException - If the supplied class name is
null.public boolean isSeverityEnabled(int severity)
IProcessDescriptor
isSeverityEnabled in interface IProcessDescriptorseverity - The severity to check.
public void report(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
IProcessDescriptor
report in interface IProcessDescriptorseverity - The severity of the report.categories - The categories the report pertains to or
null if no catagories are related.message - The message associated with the report or null
to not include a message.properties - The properties of the report or null if no
properties are specified.public java.lang.String[] getResourceManagerIDs()
getResourceManagerIDs in interface IResourceManagerRegistrypublic IResourceManager getResourceManager(java.lang.String resourceManagerID)
getResourceManager in interface IResourceManagerRegistry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||